<?//Creates canvases for the graphs
//The height will adjust depending on the ammount of artists/songs shown.
$height = 100 + 10*$_GET['topartu']; ?>
<header class="newsheader">Top Artists</header>
<section class="newssection"><canvas id="topartu" width="600px" height=<?=$height?>></canvas></section>
<footer class="newsfooter">
<form id="topartu" method="get" action="">
		Display:<input type="hidden" name="a" size="13" value="<?=$_GET['a']?>" />
		<input type="hidden" name="topsongu" size="13" value="<?=$_GET['topsongu']?>" />
		<input name="topartu"/>
		<input type="submit" name="go" value="Go" />
</form>
</footer>

<? $height = 100 + 10*$_GET['topsongu']; ?>
<header class="newsheader">Top Songs</header>
<section class="newssection"><canvas id="topsongu" width="600px" height=<?=$height?>></canvas></section>
<footer class="newsfooter">
<form id="topsongu" method="get" action="">
		Display:<input type="hidden" name="a" size="13" value="<?=$_GET['a']?>" />
		<input type="hidden" name="topartu" size="13" value="<?=$_GET['topartu']?>" />
		<input name="topsongu"/>
		<input type="submit" name="go" value="Go" />
</form>
</footer>
